package com.demo.bean9001.mapper.partner;

import com.demo.common.entity.CooperativePartner;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CooperativePartnerMapper {
    /**
     * 合作伙伴logo展示
     * @param industryId
     * @return
     */
    List<CooperativePartner> selectByIndustryId(@Param("industryId") Integer industryId);

    /**
     * 合作伙伴详情
     * @param id
     * @return
     */
    CooperativePartner selectById(@Param("id") Integer id);
}
